<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>新增</title>

  <link rel="shortcut icon" th:href="@{/static/favicon.ico}">
  <link th:href="@{/static/css/bootstrap.min.css(v=3.3.7)}" rel="stylesheet">
  <link th:href="@{/static/css/font-awesome.css(v=4.4.0)}" rel="stylesheet">

  <!-- Data Tables -->
  <link th:href="@{/static/css/plugins/dataTables/dataTables.bootstrap.css}" rel="stylesheet">

  <link th:href="@{/static/css/animate.css}" rel="stylesheet">
  <link th:href="@{/static/css/style.css(v=4.1.0)}" rel="stylesheet">

  <!-- 全局js -->
  <script th:src="@{/static/js/jquery.min.js(v=2.1.4)}"></script>
  <script th:src="@{/static/js/bootstrap.min.js(v=3.3.7)}"></script>

  <!-- 弹出层js -->
  <script th:src="@{/static/js/plugins/layer/layer.min.js}"></script>
  <script th:src="@{/static/js/myLayer.js}"></script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="ibox float-e-margins">
    <div class="ibox-content" style="width: 98%;">
      <form id="ec" th:action="@{/role/save}" method="post" class="form-horizontal">
        <div class="form-group">
          <label class="col-sm-2 control-label">角色名称：</label>
          <div class="col-sm-10">
            <input type="text" name="roleName" id="roleName" value="" class="form-control"/>
          </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
          <label class="col-sm-2 control-label">角色编码：</label>
          <div class="col-sm-10">
            <input type="text" name="roleCode" id="roleCode" value="" class="form-control"/>
          </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
          <label class="col-sm-2 control-label">描述：</label>
          <div class="col-sm-10">
            <textarea name="description" id="description" class="form-control" style="width:100%;height: 50px;" ></textarea>
          </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group posf">
          <div class="col-sm-4 col-sm-offset-2 text-right">
            <button class="btn btn-primary" type="submit">确定</button>
            <button class="btn btn-white" type="button" value="取消">取消</button></div>
        </div>
      </form>
    </div>
  </div>
</div>
</body>
</html>